package com.example.demo.web;

import com.example.demo.config.MinioPro;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("minio")
public class MinioController {

    @Resource
    private MinioPro minioPro;

    @GetMapping("config")
    public String configInfo(){
        return minioPro.toString();
    }

}
